const indexBanner = require('../data/indexBanner');
module.exports = (req, res, next) => {
  let data;
  indexBanner.find().then(data => {
    res.send(data)
  })
}